import cn.kgc.dtos.Dto;
import cn.kgc.pojo.ItripHotelOrder;
import cn.kgc.service.ItripHotelOrderService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.List;

public class test {

    @Test
    public  void test(){
        ApplicationContext pc = new ClassPathXmlApplicationContext("spring.xml");
        ItripHotelOrderService user=  pc.getBean(ItripHotelOrderService.class);
    }

}
